package design.cp3;

public class Whip extends CondimentDecorator
{
	Beverage beverage;
	
	public Whip(Beverage beverage)
	{
		this.beverage = beverage;
	}
	
	public String getDescription()
	{
		System.out.println("*****Whip**********");
		return beverage.getDescription()+", Whip";
	}
	
	public double cost()
	{
		return .10+beverage.cost();
	}
}
